using System;
using System.Collections.Generic;
using System.Text;

namespace Dracham.Classes
{
    public class Server
    {
        private String ip;

        public String Ip
        {
            get { return ip; }
            set { ip = value; }
        }
        private Int32 port;

        public Int32 Port
        {
            get { return port; }
            set { port = value; }
        }
        private String name;

        public String Name
        {
            get { return name; }
            set { name = value; }
        }

        public Server(String n, String i, Int32 p)
        {
            this.name = n;
            this.port = p;
            this.ip = i;
        }

        public override string ToString()
        {
            return this.name;
        }
    }
}
